﻿#-------------------------------------------------------------------------------
# Name:        consts
# Purpose:     contains all constants of the game
#
#
# Author:      GaiveR
#
# Created:     13.08.2011
# Copyright:   (c) ASM-team 2011
# Licence:     private
#-------------------------------------------------------------------------------
#!/usr/bin/env python

IMAGES_PATH = "images"
MAPS_PATH = "maps"
FONTS_PATH = "fonts"


# mouse buttons
MOUSE_LEFT = 1
MOUSE_MIDDLE = 2
MOUSE_RIGHT = 3
##

#tower types
AIR = 1
DIRECT = 2
SPLASH = 3
AURA = 4

COUNT_TOWER_CLASSES = 4
##

#Monster types
MONSTERGROUND = 1
MONSTERAIR = 2

COUNT_MONSTER_CLASSES = 10
##

# user events
# произвольное кол-во userevent'ов!
# pygame.event.Event(OTHER_EVENT, adv_type=EVENT_KILL_MONSTER, monster=self.target)
from pygame import USEREVENT

OTHER_EVENT = USEREVENT + 0
EVENT_KILL_MONSTER = 1
EVENT_GAME_OVER = 2
EVENT_SHOW_GAME = 3